//
//  ShopTableViewCell.h
//  Youhuiju
//
//  Created by liuovyue on 16/7/27.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ModelShop.h"


typedef void(^CancelBlock)(BOOL select);

typedef void(^SureBlock)(BOOL select);

typedef void(^NumChange)();



@interface ShopTableViewCell : UITableViewCell

//购买数量减少
@property (strong, nonatomic) IBOutlet UIButton *buttonCancel;
//购买数量增加
@property (weak, nonatomic) IBOutlet UIButton *buttonSure;
//点击按钮回调参数
@property (nonatomic,copy)CancelBlock cancelBlock;
@property (nonatomic, copy)SureBlock sureBlock;

//标题头部
@property (weak, nonatomic) IBOutlet UILabel *labelTitle;
//分类
@property (weak, nonatomic) IBOutlet UILabel *labelclassFication;
//金钱
@property (weak, nonatomic) IBOutlet UILabel *labelMoney;
//满减
@property (weak, nonatomic) IBOutlet UILabel *labelFullCut;
//节省金额
@property (weak, nonatomic) IBOutlet UILabel *labelSaveMoney;
//商品图片
@property (weak, nonatomic) IBOutlet UIImageView *imageCommodity;
//商品数量
@property (weak, nonatomic) IBOutlet UILabel *labelDigtal;

@property (nonatomic,assign)BOOL isSelected;

@property (nonatomic,copy)NumChange numAddBlock;
@property (nonatomic,copy)NumChange numCutBlock;

- (void)addModel:(ModelShop *)model;


@end
